package eval.vm;

/**
 * This class represent the host properties.
 * 
 * @author Amit Peled   <amit.kapina@gmail.com>
 * @author Igal Kaufman <igal.kaufman@gmail.com>
 * */
public class VMConfiguration {


	private int minCpu;
	private int maxCpu;
	private int minMem;
	private int maxMem;


	/**
	 * @Constructor
	 * @param VmCpuMin
	 * @param VmCpuMax
	 * @param VmMemMin
	 * @param VmMemMax
	 */
	public VMConfiguration(int VmCpuMin, int VmCpuMax,
			int VmMemMin, int VmMemMax) {
		this.minCpu = VmCpuMin;
		this.maxCpu = VmCpuMax;
		this.minMem = VmMemMin;
		this.maxMem = VmMemMax;
	}

	/**
	 * low period CPU
	 * 
	 * @return MIN CPU
	 */
	public int getMinCpu() {
		return minCpu;
	}

	/**
	 * high period CPU
	 * 
	 * @return MAX CPU
	 */
	public int getMaxCpu() {
		return maxCpu;
	}

	/**
	 * low period MEM
	 * 
	 * @return MIN MEM
	 */
	public int getMinMem() {
		return minMem;
	}

	/**
	 * high period MEM
	 * 
	 * @return MAX MEM
	 */
	public int getMaxMem() {
		return maxMem;
	}

}



